from fastapi import FastAPI

from .main import router
import config

def init_router(app: FastAPI):
    app.include_router(router, prefix=f'/api/{config.VERSION}', tags=['用户操作'])
